package com.nxn.dinner.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.nxn.core.model.IdEntity;

@Entity
@Table(name = "t_leave_message")
public class LeaveMessage extends IdEntity {

//	private Customer customer;
	private String name;
	private int type;
	private String content;
	private Date createTime;
	private int status;
	private String reply;
	
	@Column(name = "name")
	public String getName() {
		return name;
	}
	@Column(name = "type")
	public int getType() {
		return type;
	}
	@Column(name = "content")
	public String getContent() {
		return content;
	}
	@Column(name = "reply")
	public String getReply() {
		return reply;
	}
	@Column(name = "createTime")
	@Temporal(TemporalType.TIMESTAMP)
	public Date getCreateTime() {
		return createTime;
	}
	@Column(name = "status")
	public int getStatus() {
		return status;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public void setType(int type) {
		this.type = type;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
}
